feat(contract): secure execution and zk replay protections - #1124
Merged
ayomideadeniran merged 2 commits intoAug 30, 2026
Merged
Conversation
|
@QwinDivy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@QwinDivy is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ran terminal command: $git = 'C:\Program Files\Git\bin\git.exe'; & $git --version; & $git status --short --branch; & $git remote -v; & $git branch --show-current
Ran terminal command: $git = 'C:\Program Files\Git\bin\git.exe'; $gh = Get-Command gh -ErrorAction SilentlyContinue; if ($gh) { Write-Output 'GH_FOUND'; & $gh --version; & $gh auth status; } else { Write-Output 'GH_MISSING'; }; & $git status --short --branch; & $git --no-pager diff --stat
Ran terminal command: $git = 'C:\Program Files\Git\bin\git.exe'; & $git rev-parse --show-toplevel; & $git status --short --branch; $gh = Get-Command gh -ErrorAction SilentlyContinue; if ($gh) { Write-Output 'GH_FOUND'; & $gh --version; & $gh auth status; } else { Write-Output 'GH_MISSING'; }
Ran terminal command: $paths = @(
'C:\Program Files\GitHub CLI\gh.exe',
'C:\Program Files (x86)\GitHub CLI\gh.exe',
'C:\Program Files\GitHub CLI\bin\gh.exe',
'C:\Users\QwinDivy\AppData\Local\Microsoft\WinGet\Links\gh.exe',
'C:\Users\QwinDivy\scoop\apps\gh\current\gh.exe'
)
foreach ($p in $paths) { if (Test-Path $p) { Write-Output "FOUND:$p"; & $p --version } }
Write-Output 'WHERE:'
where.exe gh 2>$null
Get-Command gh -All 2>$null | Select-Object -ExpandProperty Source
Ran terminal command: $git = 'C:\Program Files\Git\bin\git.exe'; $gh = Get-Command gh -ErrorAction SilentlyContinue; if ($gh) { Write-Output 'GH_FOUND'; $gh.Source; & $gh --version; & $gh auth status } else { Write-Output 'GH_MISSING' }; & $git status --short --branch
I’ve confirmed the repo and remote are valid; I’m creating the combined issue branch and staging the completed contract changes, then I’ll push and open the PR through the available GitHub path.
Ran terminal command: $git = 'C:\Program Files\Git\bin\git.exe'; & $git checkout -b fix/completed-issue-security-hardening; & $git status --short --branch
Ran terminal command: $git = 'C:\Program Files\Git\bin\git.exe'; & $git checkout -b fix/completed-issue-security-hardening; & $git status --short --branch; & $git add .; & $git commit -m "feat(contract): secure execution and zk replay protections"
Ran terminal command: $git = 'C:\Program Files\Git\bin\git.exe'; & $git push -u origin fix/completed-issue-security-hardening
Opened Browser
Branch, commit, and push
This is complete and verified from the terminal:
fix/completed-issue-security-hardening47aa811—feat(contract): secure execution and zk replay protectionsPull request status
I could not create the GitHub PR from this environment because GitHub is currently prompting for sign-in in the browser, and no authenticated GitHub CLI session is available.
The PR page opened at the GitHub sign-in screen, which is the blocker.
Suggested PR title
fix(contract): secure optimistic execution and ZK proof replay protections
Suggested PR description
Summary
This PR hardens the contract against replay and optimistic-execution abuse by enforcing execution windows and binding ZK public inputs to the task context.
Changes
Resolved issues
Notes
fix/completed-issue-security-hardeningIf you sign in to GitHub in the browser and open the PR page, this text is ready to paste in.
Summary
Related Issue
Type of Change
Changes Made
Validation
cargo fmt --all(ifcontractchanged)npm run lintinfrontend(iffrontendchanged)Screenshots (if UI changes)
Checklist